Inheritance: ITransforms
コード例 #1
0
 public StoreOptions()
 {
     Events     = new EventGraph(this);
     Schema     = new MartenRegistry();
     Transforms = new Transforms.Transforms(this);
     Storage    = new StorageFeatures(this);
 }
コード例 #2
0
ファイル: StoreOptions.cs プロジェクト: ifle/marten
        public StoreOptions()
        {
            Events     = new EventGraph(this);
            Schema     = new MartenRegistry(this);
            Transforms = new Transforms.Transforms(this);

            var patching = new TransformFunction(this, PatchDoc, SchemaBuilder.GetJavascript(this, "mt_patching"));

            patching.OtherArgs.Add("patch");

            Transforms.Load(patching);
        }